<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm" enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">一级栏目：</label>
                            <div class="col-sm-8" id="firstColumnDiv">
                            </div>
<!--                            <div class="col-sm-8">-->
<!--                                <select id="firstColumn" name="firstColumn" class="form-control">-->
<!--                                    -->
<!--&lt;!&ndash;                                    <option value="">请选择</option>&ndash;&gt;-->
<!--&lt;!&ndash;                                    <option value="证书考试门户">证书考试门户</option>&ndash;&gt;-->
<!--&lt;!&ndash;                                    <option value="培训就业门户">培训就业门户</option>&ndash;&gt;-->
<!--                                </select>-->
<!--                            </div>-->
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">二级栏目：</label>
                            <div class="col-sm-8" id="secondColumnDiv">
                            </div>
<!--                            <div class="col-sm-8">-->
<!--                                <select id="secondColumn" name="secondColumn" class="form-control">-->
<!--                                    <option value="">请选择</option>-->
<!--                                    <option value="通知公告">通知公告</option>-->
<!--                                    <option value="政策信息">政策信息</option>-->
<!--                                    <option value="行业信息">行业信息</option>-->
<!--                                    <option value="资料文库">资料文库</option>-->
<!--                                    <option value="考试须知">考试须知</option>-->
<!--                                    <option value="注册须知">注册须知</option>-->
<!--                                    <option value="专家申请模板">专家申请模板</option>-->
<!--                                    <option value="站点申请模板">站点申请模板</option>-->
<!--                                </select>-->
<!--                            </div>-->
                        </div>

<!--                        <input type="hidden" name="roleIds" id="roleIds">-->
<!--                        <div class="form-group" id="role">-->
<!--								<label class="col-sm-3 control-label">访问角色：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<label th:each="role:${roles}" class="checkbox-inline">-->
<!--										<input name="role" type="checkbox" th:value="${role.id}"-->
<!--										th:text="${role.roleName}">-->
<!--									</label>-->
<!--								</div>-->
<!--						</div>-->

                        <div class="form-group">
                            <label class="col-sm-3 control-label">标题：</label>
                            <div class="col-sm-8">
                                <input id="title" name="title" class="form-control" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">缩略图(首页展示，408px*305px)：</label>
                            <div class="col-sm-8">
                                <img id="img" src="" style="width:150px;display:block;">
                                <input type="hidden" id="thumbnail" name="thumbnail">
                                <button type="button" class="btn btn-primary" id="btnUpload1" style="margin-top: 10px;">
                                    <i class="fa fa-cloud"></i>上传图片
                                </button>
                            </div>
                        </div>
                        <div class="form-group" id="isContents">
                            <label class="col-sm-3 control-label">内容：</label>
                            <div class="col-sm-8">
                                <input id="contents" name="contents" type="hidden" >
                                <div class="ibox-content no-padding">
                                    <div id="content_sn" class="summernote editor"></div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否置顶：</label>
                            <div class="col-sm-8">
                                <select name="istop" id="istop" class="form-control">
                                    <option value="0">否</option>
                                    <option value="1">是</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">附件：</label>
                            <div class="col-sm-8">
                                <!--<input id="files" name="files" class="form-control" type="text">-->
                                <button type="button" class="btn btn-primary" id="btnUpload">
                                    <i class="fa fa-cloud"></i>上传文件
                                </button>
                                <input type="text" style="opacity:0;width: 1px;" id="files" name="files">
                                <span id="test"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/consultations/add.js">
</script>
</body>
</html>
